package com.vehicle.service.Impl;

import com.vehicle.domains.entity.VehicleTransportLedgerEntity;
import com.vehicle.mapper.VehicleTransportLedgerMapper;
import com.vehicle.service.VehicleTransportLedgerService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class VehicleTransportLedgerServiceImpl implements VehicleTransportLedgerService {
    @Resource
    private VehicleTransportLedgerMapper vehicleTransportLedgerMapper;
    @Override
    public void insert(VehicleTransportLedgerEntity vehicleTransportLedgerEntity) {
        vehicleTransportLedgerMapper.insertTransportLedger(vehicleTransportLedgerEntity);
    }

    @Override
    public void updateTransportExitInfo(VehicleTransportLedgerEntity vehicleTransportLedgerEntity) {
        vehicleTransportLedgerMapper.updateTransportExitInfo(vehicleTransportLedgerEntity);
    }
}
